package com.ruoyi.cmenonmetal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 打印处理对象 zs_print_process
 * 
 * @author zousong
 * @date 2022-02-22
 */
public class ZsPrintProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 打印处理ID */
    private Long id;

    /** 打印人员 */
    @Excel(name = "打印人员")
    private String printer;

    /** 订单ID */
    @Excel(name = "订单ID")
    private String orderId;

    /** 打印名称 */
    @Excel(name = "打印名称")
    private String printName;

    /** 打印类型 */
    @Excel(name = "打印类型")
    private String printType;

    /** 打印时长 */
    @Excel(name = "打印时长")
    private Long printTime;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private Integer deviceStatus;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 质检记录 */
    @Excel(name = "质检记录")
    private String qualityRecord;

    /** 是否合格 */
    @Excel(name = "是否合格")
    private Integer isqualitified;

    /** 热处理人员 */
    @Excel(name = "热处理人员")
    private String heatPreprocessor;

    /** 是否处理 */
    @Excel(name = "是否处理")
    private Integer isHandle;

    /** 异常记录 */
    @Excel(name = "异常记录")
    private String unnormalRecord;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPrinter(String printer) 
    {
        this.printer = printer;
    }

    public String getPrinter() 
    {
        return printer;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setPrintName(String printName) 
    {
        this.printName = printName;
    }

    public String getPrintName() 
    {
        return printName;
    }
    public void setPrintType(String printType) 
    {
        this.printType = printType;
    }

    public String getPrintType() 
    {
        return printType;
    }
    public void setPrintTime(Long printTime) 
    {
        this.printTime = printTime;
    }

    public Long getPrintTime() 
    {
        return printTime;
    }
    public void setDeviceStatus(Integer deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public Integer getDeviceStatus() 
    {
        return deviceStatus;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setQualityRecord(String qualityRecord) 
    {
        this.qualityRecord = qualityRecord;
    }

    public String getQualityRecord() 
    {
        return qualityRecord;
    }
    public void setIsqualitified(Integer isqualitified) 
    {
        this.isqualitified = isqualitified;
    }

    public Integer getIsqualitified() 
    {
        return isqualitified;
    }
    public void setHeatPreprocessor(String heatPreprocessor) 
    {
        this.heatPreprocessor = heatPreprocessor;
    }

    public String getHeatPreprocessor() 
    {
        return heatPreprocessor;
    }
    public void setIsHandle(Integer isHandle) 
    {
        this.isHandle = isHandle;
    }

    public Integer getIsHandle() 
    {
        return isHandle;
    }
    public void setUnnormalRecord(String unnormalRecord) 
    {
        this.unnormalRecord = unnormalRecord;
    }

    public String getUnnormalRecord() 
    {
        return unnormalRecord;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("printer", getPrinter())
            .append("orderId", getOrderId())
            .append("printName", getPrintName())
            .append("printType", getPrintType())
            .append("printTime", getPrintTime())
            .append("deviceStatus", getDeviceStatus())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("qualityRecord", getQualityRecord())
            .append("isqualitified", getIsqualitified())
            .append("heatPreprocessor", getHeatPreprocessor())
            .append("isHandle", getIsHandle())
            .append("unnormalRecord", getUnnormalRecord())
            .toString();
    }
}
